Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added docker container for quick review of an application. #6

Merged
merged 3 commits into from
Feb 9, 2018
Merged

Added docker container for quick review of an application. #6

merged 3 commits into from
Feb 9, 2018

Conversation

BBerastegui
Copy link
Contributor

No description provided.

@vincentcox vincentcox merged commit 4474b27 into vincentcox:master Feb 9, 2018
@vincentcox
Copy link
Owner

vincentcox commented Feb 11, 2018

Can you confirm that the docker instance still works with https://github.com/vincentcox/StaCoAn/tree/develop?
I am cleaning up the structure. Currently I am unable to run docker because I am running VMWare to test the different builds. Unfortunately, hyper-V does not like VMWare so I cannot test it on my device.

Build is passing, so if docker works for you, it will be merged to master.

@vincentcox
Copy link
Owner

I update the docker setup with a drag and drop interface. It's now pushed to develop.
Again, I have no access to docker due vmware, so it would be a huge favour if you could test this again.
Do you mind if I put you in a "special contributor's" tab in the README? If you like I link your GitHub or twitter account. Your docker idea and code gave this project something extra so I would like to express my appreciation.

@BBerastegui
Copy link
Contributor Author

Hi ! I just took a look at it.

The docker now is much much smaller, but here: https://github.com/vincentcox/StaCoAn/blob/develop/src/helpers/server.py#L442

You have hardcoded a port (8080) for the report to be opened, but by default, the web server is running in port 8000, so when you click on it, you get an error, as the server is not running in that port.

Am I missing something here?

Feel free to add me wherever you want. Glad I helped a little !

@vincentcox
Copy link
Owner

vincentcox commented Feb 26, 2018 via email

@BBerastegui
Copy link
Contributor Author

BBerastegui commented Feb 27, 2018

When cloning the develop branch I still get the link to the port 8080, and the name of the report location is not ok neither (check the . and the underscores).

Link generated:
http://localhost:8080/com_king.candycrushsaga.apk/report/start.html

Link corrected:
http://localhost:8000/com_king_candycrushsaga_apk/report/start.html

@vincentcox
Copy link
Owner

Damn, will look at it this evening. Thanks for testing it!

@vincentcox
Copy link
Owner

Just to double check, did you changed https://github.com/vincentcox/StaCoAn/blob/develop/docker/Dockerfile#L19 to RUN git clone https://github.com/vincentcox/StaCoAn/ -b develop?

@BBerastegui
Copy link
Contributor Author

BBerastegui commented Feb 27, 2018

Yup:

# git branch
* develop

The HTML I end up with is like this:

<a href="http://localhost:8080/com_king.candycrushsaga.apk/report/start.html" class="box__restart2" id="done_link" onclick="javascript:event.target.port=8080" role="button" target="_blank">Open report!</a>

vincentcox added a commit that referenced this pull request Feb 27, 2018
@vincentcox
Copy link
Owner

b2099e3
-> This fixes the path error you have.
About your comment over the port; there are 2 ports used:

  • 8000 for drag and drop server
  • 8080 for the report server

@vincentcox
Copy link
Owner

@Ayowel
Copy link

Ayowel commented Feb 28, 2018

@vincentcox Then, you might want to EXPOSE 8080 in the Dockerfile and update the readme

vincentcox added a commit that referenced this pull request Mar 1, 2018
* Re-adapted the docker to the develop branch (#26)

Many thanks to @BBerastegui, I am not very familiar with docker and this certainly was very useful to add to this project.

* Some minor improvements (#31)

* Automaticly fix jadx file permissions

* Bugfix: Open browser on macOS

Browser did not open automatically on macOS.

* Show a summary at the end

You can add more statistics here, so that the user has a nice summary.

* Reduce cmdline output by overwriting progress line

* Usage of enumerate instead of manual index mgmt (#32)

* Updated readme file, Acknowledgments

* Implement arguments (#33)

stacoan.py [-h] [-p PATH [PATH ...]] [--disable-browser] [--log-all |
--log-errors | --log-warnings]

* make a server option in StaCoAn, for reporting and drag and drop interface

* Updated readme and docker file for parameters

* seperate folder for each project

* travis file update

* Filetype check on the server (ipa, apk) (#34)

* Thread handling and server optimalisations

* Update gitignore

* Fix typo

* fix pyinstaller issue

* Fix javascript punctuation issue

#6 (comment)

* added authors to README.TXT
vincentcox added a commit that referenced this pull request Mar 1, 2018
* Re-adapted the docker to the develop branch (#26)

Many thanks to @BBerastegui, I am not very familiar with docker and this certainly was very useful to add to this project.

* Some minor improvements (#31)

* Automaticly fix jadx file permissions

* Bugfix: Open browser on macOS

Browser did not open automatically on macOS.

* Show a summary at the end

You can add more statistics here, so that the user has a nice summary.

* Reduce cmdline output by overwriting progress line

* Usage of enumerate instead of manual index mgmt (#32)

* Updated readme file, Acknowledgments

* Implement arguments (#33)

stacoan.py [-h] [-p PATH [PATH ...]] [--disable-browser] [--log-all |
--log-errors | --log-warnings]

* make a server option in StaCoAn, for reporting and drag and drop interface

* Updated readme and docker file for parameters

* seperate folder for each project

* travis file update

* Filetype check on the server (ipa, apk) (#34)

* Thread handling and server optimalisations

* Update gitignore

* Fix typo

* fix pyinstaller issue

* Fix javascript punctuation issue

#6 (comment)

* added authors to README.TXT

* Fix modules builder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants